#ifndef __HEAD_H__
#define __HEAD_H__


#ifdef _WIN32
#define localtime_r(x, y) localtime_s(y, x)
#endif

#include "ui.h"
#include <time.h> 
#include <stdlib.h>
#include <unistd.h>
#include "../UI/ui_helpers.h"
#define SDL_MAIN_HANDLED /*To fix SDL's "undefined reference to WinMain" issue*/
// #include <SDL2/SDL.h>
#include "lvgl/lvgl.h"
#include "lvgl/examples/lv_examples.h"
#include "lvgl/demos/lv_demos.h"
#include "lv_drivers/sdl/sdl.h"



void obj_event(void);
void event_bubble(void);
void event_cb(lv_event_t * e);
void event_cb2(lv_event_t * e);
// void show_jpg(void);
void show_my_img(void);
void show_gif(void);
// void Fonts_example(void);
void event_click_me(void);

 void time_update_event_cb(lv_timer_t *timer);
#endif // __HEAD_H__